package com.shang.activity.service.impl;

import com.shang.activity.domain.Activity;
import com.shang.activity.domain.vo.ActivityReq;
import com.shang.activity.mapper.ActivityMapper;
import com.shang.system.api.domain.SysDept;
import com.shang.activity.service.ActivityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 部门管理 服务实现
 *
 * @author ruoyi
 */
@Service
public class ActivityServiceImpl implements ActivityService
{
    @Autowired
    private ActivityMapper activityMapper;

    /**
     * 活动列表
     */
    @Override
    public List<Activity> list(ActivityReq req) {
        return activityMapper.list(req);
    }
}
